$OpenBSD: patch-src_libretroshare_src_rsserver_rsinit_cc,v 1.2 2017/05/18 14:47:27 espie Exp $
Index: src/libretroshare/src/rsserver/rsinit.cc
--- src/libretroshare/src/rsserver/rsinit.cc.orig
+++ src/libretroshare/src/rsserver/rsinit.cc
@@ -2154,7 +2154,7 @@ int RsServer::StartupRetroShare()
 	std::vector<std::string> plugins_directories ;
 
 #ifndef WINDOWS_SYS
-	plugins_directories.push_back(std::string("/usr/lib/retroshare/extensions/")) ;
+	plugins_directories.push_back(std::string("${TRUEPREFIX}/lib/retroshare/extensions/")) ;
 #endif
 	std::string extensions_dir = RsInitConfig::basedir + "/extensions/" ;
 	plugins_directories.push_back(extensions_dir) ;
